﻿#ifndef GLOBAL_H
#define GLOBAL_H
#include <QWidget>
#include"book_sql.h"
#include"readersql.h"
#include"changepassword.h"
class global
{
public:
    static QString user;
    static QString book_borrowED;
    static bool AUthority;
    static book_sql *bok;
    static Readersql *read;
    static QString hash_new;
    static QString overtime;
    global();

    static bool get_augthority(void);
    static QString getuser(void);
    static void change_user(QString a);
    static void change_augthor(bool b);
};

#endif // GLOBAL_H
